<template>
  <div class="setting">
    <group title="支付密码设置">
      <cell :link="{path:'/findpaypwd'}" title='找回支付密码'>
      </cell>
      <cell :link="{path:'/changepaypwd'}" title='修改支付密码'>
      </cell>
    </group>
    <group title="登录密码设置">
    <cell :link="{path:'/changeloginpwd'}" title='修改登录密码'>
    </cell>
    </group>
    <!-- <group title="关于"> -->
    <!-- <cell :link="{path:'/'}" title='关于乐积分'> -->
    <!-- </cell> -->
    <!-- </group> -->
    <div class="donate">
        <img src="../assets/icon_weixin_kefu.jpg" width="60%" class="donate-img">
          <p class="desc">
          （微信号:leponitcs）
          <!-- <router&#45;link to="/KeclassifyList">k</router&#45;link> -->
          </p>
      </div>
  </div>
</template>

<script charset="utf-8">
  // import { Cell,Group,Divider } from "vux"

import { Cell,Group,Divider } from 'vux'
  export default{
        data(){
         return {
         }
      },
        computed:{
          ucenter(){
            return "http://116.228.152.190:666/lejf-mobile-api/shop/user-center?accessToken=" + this.$store.getters.all_login.accessToken
          },
          login_check(){
            return this.$store.getters.all_islogoined
          }
        },
       created(){
         if (this.login_check == 'false') {
           var i = function () {
             this.b()
           }.bind(this)
                 this.$vux.alert.show({
                           title: '用户未登录',
                           content: this.$t('请先去登录'),
                           onShow () {
                                       console.log('Plugin: I\'m showing')
                                     },
                           onHide () {
                                       console.log('go to login')
                              i()
                                     }
                         })
           // alert("un logined")
         }
       },
        components:{
          Cell,Group,Divider
        },
        methods:{
          b(){
            this.$router.push('/')
          },
        trimCharacter:function(e){
      return e.trim();
      }

      }
}
</script>

<style type="text/css">

.donate {
  text-align: center;
  background-color: #fff;
    margin-top:30px
}
.donate-img {
  max-width: 100%;
}
.desc {
  color: #999;
  font-size: 12px;
}

</style>
